#define _CRT_SECURE_NO_WARNINGS 1
//
//#include <stdio.h>
//int my_strlen(char* a)
//{
//	int count = 0;
//	while (a[count]!='\0')
//	{
//		count++;
//		
//	}
//	return count;
//}
//
//int main()
//{
//	char arr[] = { "hello  " };
//	int  end = my_strlen(arr);
//	printf("%d", end);
//	return 0;
//}

#include <stdio.h>

char* my_strcpy(char* arr2, char* arr1)
{
	char* ret = arr2;
	while (*arr2 != '\0')
	{
		*arr2 = *arr1;
		arr1++;
		arr2++;
	}
	return ret;
}
int main()
{
	char arr1[] = { "hello" };
	char arr2[10] = { 0 };
	printf("%s", *arr2);
	return 0;

}
